# -*- coding: utf-8 -*-

import pygame

pygame.init()
suface = pygame.display.set_mode((800,600))
pygame.display.set_caption("pygame")

isrunning = True
while isrunning:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            isrunning = False

pygame.quit()